<div class="cat"><img style="vertical-align: top" src="/images/mgen/icon/pastille.png"/><h1>Aventures libres</h1></div>

<div class="cont-1">
    <h3>Avertissement</h3>
    <div class="in">
        Ces aventures ne comportement pas de réponses. Sauf mentions contraires ([Réservé], [Truc], ...), ces aventures sont en attentes de personnages tout simplement. 
    </div>
</div>
<div style="height: 15px"></div>
<?php
foreach($advs as $adv):
?>
<div class="topic-list-cadre">
    <div class="topic-list-cadre-sprite lf <?php echo $adv->isNew() ? 'new' : 'old' ?>" title="<?php echo $adv->isNew() ? 'Nouveau' : 'Ancien' ?>"></div>
    <div class="rg">
            <div class="topic-list-cadre-sprite display">
                <div class="topic-list-cadre-sprite rg">
                    <div class="span-10">
                        <?php echo $adv != NULL ? link_to($adv->getTitle(), 'show_topic', $adv) : '' ?><br/>
                        <span style="font-size: xx-small">Par <?php echo link_to($adv->getStarterCharacter()->getPseudo(), "show_character", $adv->getStarterCharacter())  ?> le <?php echo $adv->getFirstAction()->getCreatedAt() ?></span>
                    </div>
                    <div class="span-5">
                        <?php echo link_to($adv->getKTDRegion()->getName(), "show_region",$adv->getKTDRegion()) ?><br/>
                         <?php echo $adv->countActions() ?> <span style="font-size: x-small">message<?php echo $adv->countActions() == 1 ? '' : 's'?></span>
                    </div>
                </div>
                <div class="topic-list-cadre-sprite lf">
                </div>
            </div>
            <div class="topic-list-cadre-sprite bottom"></div>
    </div>
</div>
<?php endforeach; ?>